{% extends 'preheat/base.html' %}

{% block title %}删除CDN域名 - CDN预热平台{% endblock %}

{% block page_title %}确认删除CDN域名{% endblock %}

{% block content %}
<div class="card">
    <div class="card-header">
        <h3>确认删除</h3>
    </div>
    <div class="card-body">
        <p class="text-danger">您确定要删除CDN域名 <strong>{{ object.domain }}</strong> 吗？</p>
        <p>此操作不可撤销，删除后相关数据（如请求地址）也将被删除。</p>
        
        <form method="post">
            {% csrf_token %}
            <button type="submit" class="btn btn-danger">确认删除</button>
            <a href="{% url 'preheat:cdn_domain_list' %}" class="btn btn-secondary">取消</a>
        </form>
    </div>
</div>
{% endblock %}